Cleantalk\Common\Helper D

Total Complexity 245
Dependencies 2
Dependents 6
Total lines 1,035
Lines of code 576
Logical lines of code 344
Comment lines 309
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
ipGet()
D
15
106 200
ipMaskMatch()
B
41 18 54
arrayMergeSaveNumericKeysRecursive()
A
57 11 16
toUTF8()
A
51 10 25
httpMultiRequest()
A
51 9 26
httpGetHeaders()
A
49 8 29
fromUTF8()
A
55 8 17
dbPrepareParam()
S
54 7 21
ipV6Normalize()
S
55 7 16
dnsResolve()
S
58 6 15
arraysHasKeysDifferenceRecursive()
S
58 6 15
ipValidate()
S
61 6 12
removeNonUTF8()
S
60 5 13
getMimeType()
S
61 4 11
ipV6Reduce()
S
65 4 8
dateValidate()
S
64 3 9
bufferTrimAndClearFromEmptyLines()
S
64 3 10
ipResolve()
S
66 3 9
cidrValidate()
S
72 3 4
bufferCsvPopLineToArray()
S
63 3 10
ipMaskLongToNumber()
S
73 2 4
arrayMergeSaveNumericKeys()
S
70 2 6
bufferParseCsv()
S
66 2 8
isJson()
S
77 2 3
httpRequest()
S
68 1 8
bufferCsvPopLine()
S
69 1 6
bufferCsvGetMap()
S
75 1 4
timeGetIntervalStart()
S
77 1 3
ipIsPrivateNetwork()
S
78 1 3
ipLong2ip()
S
67 1 7
getFilenameFromUrl()
S
75 1 4